home *** CD-ROM | disk | FTP | other *** search
Wrap
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <? $directoryListing = "Répertoire(s) à la racine du serveur (\"www\")"; $noDir = "aucun rΘpertoire"; $presentation = "Cette page permet de visualiser les répertoires placés à la racine du serveur. Si vous souhaitez organiser autrement le répertoire "www", vous pouvez effacer ce fichier. Il en existe une copie de sauvegarde dans le répertoire "safe" (index-safe.php)."; ?> <html> <head> <title>[EasyPHP] - Web Local</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> .text1 {font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: White;text-align : left;} .text2 {font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: Silver;text-align : left;} .titre1 {font-family: Arial, Helvetica, sans-serif;font-size: 12px;font-weight: bold;color: #FFFFFF;} .titre2 {font-family: Arial, Helvetica, sans-serif;font-size: 12px;font-weight: bold;color: #cccccc;} </style> </head> <body bgcolor="#525A73"> <div align="center"> <table width="400" cellspacing="0" cellpadding="0" border="0" align="center"> <tr> <td> <a href="index.php"><img src="images_easyphp/titre_easyphp_weblocal.gif" width="387" height="116" border="0"></a> </td> </tr> <tr> </table> </div> <table width="500" border="0" cellspacing="4" cellpadding="0" align="center"> <tr> <td><img src="images_easyphp/cube_rouge_small.gif" width="18" height="20"></td> <td width="100%" nowrap class="titre1"> <? echo $directoryListing; ?> :</td> </tr> </table> <table width="500" border="0" cellspacing="2" cellpadding="0" align="center"> <? $rep=opendir('.'); $bAuMoinsUnRepertoire = false; while ($file = readdir($rep)){ if($file != '..' && $file !='.' && $file !=''){ if (is_dir($file)){ $bAuMoinsUnRepertoire = true; print("<tr><td nowrap class='text1'> </td>"); print("<td width='100%' class='text1'>"); print(" <img src='images_easyphp/dossier.gif' width='23' height='16' align='absbottom'> "); print("<a href='$file/' class='text1'>$file</a>"); print("</td></tr>"); } } } if ($bAuMoinsUnRepertoire == false) { print("<tr><td nowrap class='text1'><div align='center'>- $noDir -</div></td>"); print("</td></tr>"); } closedir($rep); clearstatcache(); ?> </table> <br> <table width="500" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td class="text1"> <? echo $presentation ?> </td> </tr> </table> </body> </html>